from django.db import models


# Create your models here.

class T_newsTables(models.Model):
    headline = models.CharField(max_length=100, null=False, unique=False)
    abstract = models.CharField(max_length=255, null=False, unique=False)
    emotion = models.IntegerField( null=True)
    post_date = models.DateField(null=False)
    source = models.IntegerField(null=True)
    promulgator_id = models.CharField(max_length=10, null=False, unique=False)
    post_link = models.CharField(max_length=255, null=False, unique=False)



